# !/usr/bin/env python
# _*_ coding:utf-8 _*_

from django.conf.urls import url

from . import views

urlpatterns = [
    # 1. 图片验证码	image_codes/(?P<uuid>[\w-]+)/
    url(r'^image_codes/(?P<uuid>[\w-]+)/$', views.ImageCodeView.as_view(),name="image_code"),
    # 2.短信验证码 sms_codes/(?P<mobile>1[3-9]\d{9})/
    url(r'^sms_codes/(?P<mobile>1[3-9]\d{9})/$', views.SmsCodeView.as_view(), name="sms_code"),

]

